body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f4f4f4;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-item {
  width: 100%;
  /* height: 200px; */
  height: auto;
  /* object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease; */
  overflow: hidden;
  border-radius: 10px;
  position: relative;
}

.image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999; /* Ensure modal is on top */
}

/* Container styles */
.modal-content-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80vw; /* Initial width of the container */
  height: 80vh; /* Initial height of the container */
  overflow: hidden; /* Hide overflow of the image */
    
}

/* Zoom controls styles */
.zoom-controls {
  position: fixed;
  bottom: 10px; /* Position at the bottom of the container */
  left: 50%; /* Center horizontally */
  transform: translateX(-50%); /* Center horizontally */
  display: flex;
  flex-direction: row;
  z-index: 1000; /* Ensure zoom controls are on top */
}

.zoom-btn {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 3px;
  margin: 5px;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 18px;
}

.zoom-btn:hover {
  background-color: #f0f0f0;
}

.modal-content {
  max-width: 100%;
  max-height: 100%;
  transition: transform 0.3s ease; /* Smooth zooming effect */
}
.close {
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  color: #fff;
  cursor: pointer;
  z-index: 10000; /* Ensure close button is on top */
  opacity: 1.2;
}

/* Gallery section on Home */
/* Style and position the link */
.view-more-link {
  color: #402603;
  text-decoration: none; /* Remove underline */
  font-size: 16px; /* Font size */
  font-weight: bold; /* Bold text */
  transition: background-color 0.3s ease; /* Smooth background color transition */
}

a.view-more-link {
  color: #402603 !important;
}

/* Hover effect */
.view-more-link:hover {
  color: #e11515 !important; /* Darker background on hover */
}

.view-more-wrap {
  float: right;
  padding-right: 50px;
}